package cn.gdut.chengcai.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PartnerInfoExample {
	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	public PartnerInfoExample() {
		oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}

	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct(boolean distinct) {
		this.distinct = distinct;
	}

	public boolean isDistinct() {
		return distinct;
	}

	public List<Criteria> getOredCriteria() {
		return oredCriteria;
	}

	public void or(Criteria criteria) {
		oredCriteria.add(criteria);
	}

	public Criteria or() {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria() {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
			oredCriteria.add(criteria);
		}
		return criteria;
	}

	protected Criteria createCriteriaInternal() {
		Criteria criteria = new Criteria();
		return criteria;
	}

	public void clear() {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;

		protected GeneratedCriteria() {
			super();
			criteria = new ArrayList<Criterion>();
		}

		public boolean isValid() {
			return criteria.size() > 0;
		}

		public List<Criterion> getAllCriteria() {
			return criteria;
		}

		public List<Criterion> getCriteria() {
			return criteria;
		}

		protected void addCriterion(String condition) {
			if (condition == null) {
				throw new RuntimeException("Value for condition cannot be null");
			}
			criteria.add(new Criterion(condition));
		}

		protected void addCriterion(String condition, Object value, String property) {
			if (value == null) {
				throw new RuntimeException("Value for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value));
		}

		protected void addCriterion(String condition, Object value1, Object value2, String property) {
			if (value1 == null || value2 == null) {
				throw new RuntimeException("Between values for " + property + " cannot be null");
			}
			criteria.add(new Criterion(condition, value1, value2));
		}

		public Criteria andIdIsNull() {
			addCriterion("id_ is null");
			return (Criteria) this;
		}

		public Criteria andIdIsNotNull() {
			addCriterion("id_ is not null");
			return (Criteria) this;
		}

		public Criteria andIdEqualTo(Long value) {
			addCriterion("id_ =", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotEqualTo(Long value) {
			addCriterion("id_ <>", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThan(Long value) {
			addCriterion("id_ >", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdGreaterThanOrEqualTo(Long value) {
			addCriterion("id_ >=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThan(Long value) {
			addCriterion("id_ <", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdLessThanOrEqualTo(Long value) {
			addCriterion("id_ <=", value, "id");
			return (Criteria) this;
		}

		public Criteria andIdIn(List<Long> values) {
			addCriterion("id_ in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotIn(List<Long> values) {
			addCriterion("id_ not in", values, "id");
			return (Criteria) this;
		}

		public Criteria andIdBetween(Long value1, Long value2) {
			addCriterion("id_ between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andIdNotBetween(Long value1, Long value2) {
			addCriterion("id_ not between", value1, value2, "id");
			return (Criteria) this;
		}

		public Criteria andSnIsNull() {
			addCriterion("sn_ is null");
			return (Criteria) this;
		}

		public Criteria andSnIsNotNull() {
			addCriterion("sn_ is not null");
			return (Criteria) this;
		}

		public Criteria andSnEqualTo(String value) {
			addCriterion("sn_ =", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotEqualTo(String value) {
			addCriterion("sn_ <>", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnGreaterThan(String value) {
			addCriterion("sn_ >", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnGreaterThanOrEqualTo(String value) {
			addCriterion("sn_ >=", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLessThan(String value) {
			addCriterion("sn_ <", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLessThanOrEqualTo(String value) {
			addCriterion("sn_ <=", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnLike(String value) {
			addCriterion("sn_ like", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotLike(String value) {
			addCriterion("sn_ not like", value, "sn");
			return (Criteria) this;
		}

		public Criteria andSnIn(List<String> values) {
			addCriterion("sn_ in", values, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotIn(List<String> values) {
			addCriterion("sn_ not in", values, "sn");
			return (Criteria) this;
		}

		public Criteria andSnBetween(String value1, String value2) {
			addCriterion("sn_ between", value1, value2, "sn");
			return (Criteria) this;
		}

		public Criteria andSnNotBetween(String value1, String value2) {
			addCriterion("sn_ not between", value1, value2, "sn");
			return (Criteria) this;
		}

		public Criteria andNameIsNull() {
			addCriterion("name_ is null");
			return (Criteria) this;
		}

		public Criteria andNameIsNotNull() {
			addCriterion("name_ is not null");
			return (Criteria) this;
		}

		public Criteria andNameEqualTo(String value) {
			addCriterion("name_ =", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotEqualTo(String value) {
			addCriterion("name_ <>", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThan(String value) {
			addCriterion("name_ >", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameGreaterThanOrEqualTo(String value) {
			addCriterion("name_ >=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThan(String value) {
			addCriterion("name_ <", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLessThanOrEqualTo(String value) {
			addCriterion("name_ <=", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameLike(String value) {
			addCriterion("name_ like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotLike(String value) {
			addCriterion("name_ not like", value, "name");
			return (Criteria) this;
		}

		public Criteria andNameIn(List<String> values) {
			addCriterion("name_ in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotIn(List<String> values) {
			addCriterion("name_ not in", values, "name");
			return (Criteria) this;
		}

		public Criteria andNameBetween(String value1, String value2) {
			addCriterion("name_ between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andNameNotBetween(String value1, String value2) {
			addCriterion("name_ not between", value1, value2, "name");
			return (Criteria) this;
		}

		public Criteria andHomepageIsNull() {
			addCriterion("homepage_ is null");
			return (Criteria) this;
		}

		public Criteria andHomepageIsNotNull() {
			addCriterion("homepage_ is not null");
			return (Criteria) this;
		}

		public Criteria andHomepageEqualTo(String value) {
			addCriterion("homepage_ =", value, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageNotEqualTo(String value) {
			addCriterion("homepage_ <>", value, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageGreaterThan(String value) {
			addCriterion("homepage_ >", value, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageGreaterThanOrEqualTo(String value) {
			addCriterion("homepage_ >=", value, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageLessThan(String value) {
			addCriterion("homepage_ <", value, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageLessThanOrEqualTo(String value) {
			addCriterion("homepage_ <=", value, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageLike(String value) {
			addCriterion("homepage_ like", value, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageNotLike(String value) {
			addCriterion("homepage_ not like", value, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageIn(List<String> values) {
			addCriterion("homepage_ in", values, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageNotIn(List<String> values) {
			addCriterion("homepage_ not in", values, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageBetween(String value1, String value2) {
			addCriterion("homepage_ between", value1, value2, "homepage");
			return (Criteria) this;
		}

		public Criteria andHomepageNotBetween(String value1, String value2) {
			addCriterion("homepage_ not between", value1, value2, "homepage");
			return (Criteria) this;
		}

		public Criteria andIntroIsNull() {
			addCriterion("intro_ is null");
			return (Criteria) this;
		}

		public Criteria andIntroIsNotNull() {
			addCriterion("intro_ is not null");
			return (Criteria) this;
		}

		public Criteria andIntroEqualTo(String value) {
			addCriterion("intro_ =", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroNotEqualTo(String value) {
			addCriterion("intro_ <>", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroGreaterThan(String value) {
			addCriterion("intro_ >", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroGreaterThanOrEqualTo(String value) {
			addCriterion("intro_ >=", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroLessThan(String value) {
			addCriterion("intro_ <", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroLessThanOrEqualTo(String value) {
			addCriterion("intro_ <=", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroLike(String value) {
			addCriterion("intro_ like", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroNotLike(String value) {
			addCriterion("intro_ not like", value, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroIn(List<String> values) {
			addCriterion("intro_ in", values, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroNotIn(List<String> values) {
			addCriterion("intro_ not in", values, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroBetween(String value1, String value2) {
			addCriterion("intro_ between", value1, value2, "intro");
			return (Criteria) this;
		}

		public Criteria andIntroNotBetween(String value1, String value2) {
			addCriterion("intro_ not between", value1, value2, "intro");
			return (Criteria) this;
		}

		public Criteria andLogoIsNull() {
			addCriterion("logo_ is null");
			return (Criteria) this;
		}

		public Criteria andLogoIsNotNull() {
			addCriterion("logo_ is not null");
			return (Criteria) this;
		}

		public Criteria andLogoEqualTo(String value) {
			addCriterion("logo_ =", value, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoNotEqualTo(String value) {
			addCriterion("logo_ <>", value, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoGreaterThan(String value) {
			addCriterion("logo_ >", value, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoGreaterThanOrEqualTo(String value) {
			addCriterion("logo_ >=", value, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoLessThan(String value) {
			addCriterion("logo_ <", value, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoLessThanOrEqualTo(String value) {
			addCriterion("logo_ <=", value, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoLike(String value) {
			addCriterion("logo_ like", value, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoNotLike(String value) {
			addCriterion("logo_ not like", value, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoIn(List<String> values) {
			addCriterion("logo_ in", values, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoNotIn(List<String> values) {
			addCriterion("logo_ not in", values, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoBetween(String value1, String value2) {
			addCriterion("logo_ between", value1, value2, "logo");
			return (Criteria) this;
		}

		public Criteria andLogoNotBetween(String value1, String value2) {
			addCriterion("logo_ not between", value1, value2, "logo");
			return (Criteria) this;
		}

		public Criteria andLinkmanIsNull() {
			addCriterion("linkman_ is null");
			return (Criteria) this;
		}

		public Criteria andLinkmanIsNotNull() {
			addCriterion("linkman_ is not null");
			return (Criteria) this;
		}

		public Criteria andLinkmanEqualTo(String value) {
			addCriterion("linkman_ =", value, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanNotEqualTo(String value) {
			addCriterion("linkman_ <>", value, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanGreaterThan(String value) {
			addCriterion("linkman_ >", value, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanGreaterThanOrEqualTo(String value) {
			addCriterion("linkman_ >=", value, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanLessThan(String value) {
			addCriterion("linkman_ <", value, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanLessThanOrEqualTo(String value) {
			addCriterion("linkman_ <=", value, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanLike(String value) {
			addCriterion("linkman_ like", value, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanNotLike(String value) {
			addCriterion("linkman_ not like", value, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanIn(List<String> values) {
			addCriterion("linkman_ in", values, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanNotIn(List<String> values) {
			addCriterion("linkman_ not in", values, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanBetween(String value1, String value2) {
			addCriterion("linkman_ between", value1, value2, "linkman");
			return (Criteria) this;
		}

		public Criteria andLinkmanNotBetween(String value1, String value2) {
			addCriterion("linkman_ not between", value1, value2, "linkman");
			return (Criteria) this;
		}

		public Criteria andContactNumberIsNull() {
			addCriterion("contact_number_ is null");
			return (Criteria) this;
		}

		public Criteria andContactNumberIsNotNull() {
			addCriterion("contact_number_ is not null");
			return (Criteria) this;
		}

		public Criteria andContactNumberEqualTo(String value) {
			addCriterion("contact_number_ =", value, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberNotEqualTo(String value) {
			addCriterion("contact_number_ <>", value, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberGreaterThan(String value) {
			addCriterion("contact_number_ >", value, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberGreaterThanOrEqualTo(String value) {
			addCriterion("contact_number_ >=", value, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberLessThan(String value) {
			addCriterion("contact_number_ <", value, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberLessThanOrEqualTo(String value) {
			addCriterion("contact_number_ <=", value, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberLike(String value) {
			addCriterion("contact_number_ like", value, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberNotLike(String value) {
			addCriterion("contact_number_ not like", value, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberIn(List<String> values) {
			addCriterion("contact_number_ in", values, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberNotIn(List<String> values) {
			addCriterion("contact_number_ not in", values, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberBetween(String value1, String value2) {
			addCriterion("contact_number_ between", value1, value2, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactNumberNotBetween(String value1, String value2) {
			addCriterion("contact_number_ not between", value1, value2, "contactNumber");
			return (Criteria) this;
		}

		public Criteria andContactEmailIsNull() {
			addCriterion("contact_email_ is null");
			return (Criteria) this;
		}

		public Criteria andContactEmailIsNotNull() {
			addCriterion("contact_email_ is not null");
			return (Criteria) this;
		}

		public Criteria andContactEmailEqualTo(String value) {
			addCriterion("contact_email_ =", value, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailNotEqualTo(String value) {
			addCriterion("contact_email_ <>", value, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailGreaterThan(String value) {
			addCriterion("contact_email_ >", value, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailGreaterThanOrEqualTo(String value) {
			addCriterion("contact_email_ >=", value, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailLessThan(String value) {
			addCriterion("contact_email_ <", value, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailLessThanOrEqualTo(String value) {
			addCriterion("contact_email_ <=", value, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailLike(String value) {
			addCriterion("contact_email_ like", value, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailNotLike(String value) {
			addCriterion("contact_email_ not like", value, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailIn(List<String> values) {
			addCriterion("contact_email_ in", values, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailNotIn(List<String> values) {
			addCriterion("contact_email_ not in", values, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailBetween(String value1, String value2) {
			addCriterion("contact_email_ between", value1, value2, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andContactEmailNotBetween(String value1, String value2) {
			addCriterion("contact_email_ not between", value1, value2, "contactEmail");
			return (Criteria) this;
		}

		public Criteria andIsShowIsNull() {
			addCriterion("is_show_ is null");
			return (Criteria) this;
		}

		public Criteria andIsShowIsNotNull() {
			addCriterion("is_show_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsShowEqualTo(Boolean value) {
			addCriterion("is_show_ =", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotEqualTo(Boolean value) {
			addCriterion("is_show_ <>", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowGreaterThan(Boolean value) {
			addCriterion("is_show_ >", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_show_ >=", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowLessThan(Boolean value) {
			addCriterion("is_show_ <", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowLessThanOrEqualTo(Boolean value) {
			addCriterion("is_show_ <=", value, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowIn(List<Boolean> values) {
			addCriterion("is_show_ in", values, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotIn(List<Boolean> values) {
			addCriterion("is_show_ not in", values, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowBetween(Boolean value1, Boolean value2) {
			addCriterion("is_show_ between", value1, value2, "isShow");
			return (Criteria) this;
		}

		public Criteria andIsShowNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_show_ not between", value1, value2, "isShow");
			return (Criteria) this;
		}

		public Criteria andMemoIsNull() {
			addCriterion("memo_ is null");
			return (Criteria) this;
		}

		public Criteria andMemoIsNotNull() {
			addCriterion("memo_ is not null");
			return (Criteria) this;
		}

		public Criteria andMemoEqualTo(String value) {
			addCriterion("memo_ =", value, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoNotEqualTo(String value) {
			addCriterion("memo_ <>", value, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoGreaterThan(String value) {
			addCriterion("memo_ >", value, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoGreaterThanOrEqualTo(String value) {
			addCriterion("memo_ >=", value, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoLessThan(String value) {
			addCriterion("memo_ <", value, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoLessThanOrEqualTo(String value) {
			addCriterion("memo_ <=", value, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoLike(String value) {
			addCriterion("memo_ like", value, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoNotLike(String value) {
			addCriterion("memo_ not like", value, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoIn(List<String> values) {
			addCriterion("memo_ in", values, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoNotIn(List<String> values) {
			addCriterion("memo_ not in", values, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoBetween(String value1, String value2) {
			addCriterion("memo_ between", value1, value2, "memo");
			return (Criteria) this;
		}

		public Criteria andMemoNotBetween(String value1, String value2) {
			addCriterion("memo_ not between", value1, value2, "memo");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIsNull() {
			addCriterion("is_deleted_ is null");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIsNotNull() {
			addCriterion("is_deleted_ is not null");
			return (Criteria) this;
		}

		public Criteria andIsDeletedEqualTo(Boolean value) {
			addCriterion("is_deleted_ =", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotEqualTo(Boolean value) {
			addCriterion("is_deleted_ <>", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedGreaterThan(Boolean value) {
			addCriterion("is_deleted_ >", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedGreaterThanOrEqualTo(Boolean value) {
			addCriterion("is_deleted_ >=", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedLessThan(Boolean value) {
			addCriterion("is_deleted_ <", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedLessThanOrEqualTo(Boolean value) {
			addCriterion("is_deleted_ <=", value, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedIn(List<Boolean> values) {
			addCriterion("is_deleted_ in", values, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotIn(List<Boolean> values) {
			addCriterion("is_deleted_ not in", values, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedBetween(Boolean value1, Boolean value2) {
			addCriterion("is_deleted_ between", value1, value2, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andIsDeletedNotBetween(Boolean value1, Boolean value2) {
			addCriterion("is_deleted_ not between", value1, value2, "isDeleted");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNull() {
			addCriterion("create_time_ is null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIsNotNull() {
			addCriterion("create_time_ is not null");
			return (Criteria) this;
		}

		public Criteria andCreateTimeEqualTo(Date value) {
			addCriterion("create_time_ =", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotEqualTo(Date value) {
			addCriterion("create_time_ <>", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThan(Date value) {
			addCriterion("create_time_ >", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("create_time_ >=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThan(Date value) {
			addCriterion("create_time_ <", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
			addCriterion("create_time_ <=", value, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeIn(List<Date> values) {
			addCriterion("create_time_ in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotIn(List<Date> values) {
			addCriterion("create_time_ not in", values, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeBetween(Date value1, Date value2) {
			addCriterion("create_time_ between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
			addCriterion("create_time_ not between", value1, value2, "createTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNull() {
			addCriterion("update_time_ is null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIsNotNull() {
			addCriterion("update_time_ is not null");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeEqualTo(Date value) {
			addCriterion("update_time_ =", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotEqualTo(Date value) {
			addCriterion("update_time_ <>", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThan(Date value) {
			addCriterion("update_time_ >", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
			addCriterion("update_time_ >=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThan(Date value) {
			addCriterion("update_time_ <", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
			addCriterion("update_time_ <=", value, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeIn(List<Date> values) {
			addCriterion("update_time_ in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotIn(List<Date> values) {
			addCriterion("update_time_ not in", values, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeBetween(Date value1, Date value2) {
			addCriterion("update_time_ between", value1, value2, "updateTime");
			return (Criteria) this;
		}

		public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
			addCriterion("update_time_ not between", value1, value2, "updateTime");
			return (Criteria) this;
		}
	}

	public static class Criteria extends GeneratedCriteria {

		protected Criteria() {
			super();
		}
	}

	public static class Criterion {
		private String condition;

		private Object value;

		private Object secondValue;

		private boolean noValue;

		private boolean singleValue;

		private boolean betweenValue;

		private boolean listValue;

		private String typeHandler;

		public String getCondition() {
			return condition;
		}

		public Object getValue() {
			return value;
		}

		public Object getSecondValue() {
			return secondValue;
		}

		public boolean isNoValue() {
			return noValue;
		}

		public boolean isSingleValue() {
			return singleValue;
		}

		public boolean isBetweenValue() {
			return betweenValue;
		}

		public boolean isListValue() {
			return listValue;
		}

		public String getTypeHandler() {
			return typeHandler;
		}

		protected Criterion(String condition) {
			super();
			this.condition = condition;
			this.typeHandler = null;
			this.noValue = true;
		}

		protected Criterion(String condition, Object value, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.typeHandler = typeHandler;
			if (value instanceof List<?>) {
				this.listValue = true;
			} else {
				this.singleValue = true;
			}
		}

		protected Criterion(String condition, Object value) {
			this(condition, value, null);
		}

		protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
			super();
			this.condition = condition;
			this.value = value;
			this.secondValue = secondValue;
			this.typeHandler = typeHandler;
			this.betweenValue = true;
		}

		protected Criterion(String condition, Object value, Object secondValue) {
			this(condition, value, secondValue, null);
		}
	}
}